#include <stdio.h>
#include <unistd.h>
#include <sys/types.h>

int main()
{
//    pid_t ppid = getppid();
    pid_t pid = getpid();
    while(1)
    {
        printf("hello linux!i am a process，pid:%d, ppid:%d\n",(int)pid, (int)ppid);
        
        sleep(1);
    }

    return 0;
}
